package com.bwie.bargain.dao;

import com.bwie.bargain.entity.NotesEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * 
 * @author ShuangzhiZhao
 * @email 466505908@qq.com
 * @date 2022-03-07 19:58:55
 */
@Mapper
public interface NotesDao extends BaseMapper<NotesEntity> {

    int findCount(@Param("id") Long id, @Param("bargainId") Long bargainId);

    int findNotes(@Param("userId") Long userId, @Param("id") String id, @Param("oid") Long oid);
}
